package com.smart.manager.wiki.entities.body;

import com.smart.common.entities.core.BaseSearch;
import com.smart.manager.wiki.entities.enums.HelpKind;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;


/**
 * 帮助
 * @author Leo
 * @date 2023/08/16
 */
public class RPopHelp {

    @Data
    @EqualsAndHashCode(callSuper = true)
    @ApiModel("RPopHelp1")
    public static class SearchBody extends BaseSearch {

        @ApiModelProperty("标题")
        private String title;

        @ApiModelProperty("类型")
        private HelpKind kind; // 姓名

    }


    @Data
    @ApiModel("RPopHelp2")
    public static class EditBody  implements Serializable {

        @ApiModelProperty("标题")
        private String title;

        @ApiModelProperty("类型")
        private HelpKind kind; // 姓名

        @ApiModelProperty("正文")
        private String body; // 联系方式

    }


}
